package lab02.test16;

/**
 * Created by dell on 2017/10/23.
 */
public abstract class Arithmetic {
    float A;
    float B;
    //方法：有关算术运算的方法
    float getAdd(){
       return A+B;
    }
    float getMinus(){
        return A-B;
    }
    float getMultiplay(){
        return A*B;
    }
    float getDivide(){
        return A/B;
    }
}
